﻿package view.prompt
{
    import com.core.*;
    import com.sh.game.util.*;
    import flash.events.*;
    import manager.*;
    import plugin.union.*;

    public class UnionChatPrompt extends ImgPromptCell
    {

        public function UnionChatPrompt()
        {
            return;
        }// end function

        override protected function doMouse(event:MouseEvent) : void
        {
            super.doMouse(event);
            PluginManager.instance.openPlugin("unionChat", UIGlobel.pointsDic["social"], null);
            return;
        }// end function

        override public function show(param1:Object) : void
        {
            super.show(param1);
            var _loc_2:* = ModelProxy.getValue("data", "unionInfo");
            if (_loc_2 == null)
            {
                UnionSender._4getUnionInfo(UserData.getUserData("unionId"));
            }
            if (param1 == null)
            {
                if (tweenMax != null)
                {
                    tweenMax.kill();
                    tweenMax = null;
                    this.alpha = 1;
                }
            }
            return;
        }// end function

    }
}
